package com.agger.gatewayserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @classname: GatewayServerApplication
 * @description: GateWay网关启动类
 * @author chenhx
 * @date 2020-04-26 15:30:59
 */
@EnableDiscoveryClient          // 开启Eureka客户端
@SpringBootApplication
@ComponentScan("com.agger")
public class GatewayServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayServerApplication.class, args);
    }

}
